package com.ruoyi.sys.security.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 园区事件记录对象 tb_incident
 *
 * @author iuxin
 * @date 2022-05-25
 */
public class TbIncident extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long iId;

    /** 事故编号 */
    @Excel(name = "事故编号")
    private String iNumber;

    /** 0-1-2-3 消防事故、工程事故、安全事故。其他事故 */
    @Excel(name = "0-1-2-3 消防事故、工程事故、安全事故。其他事故")
    private Long iType;

    /** 发生地点 */
    @Excel(name = "发生地点")
    private String iSite;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date iDate;

    /** 责任人 */
    @Excel(name = "责任人")
    private Long iUId;

    /** 事故描述 */
    @Excel(name = "事故描述")
    private String iStatement;

    /** 事故照片 */
    @Excel(name = "事故照片")
    private String iImg;

    /** 用户信息信息 */
    private List<SysUser> sysUserList;

    public void setiId(Long iId)
    {
        this.iId = iId;
    }

    public Long getiId()
    {
        return iId;
    }
    public void setiNumber(String iNumber)
    {
        this.iNumber = iNumber;
    }

    public String getiNumber()
    {
        return iNumber;
    }
    public void setiType(Long iType)
    {
        this.iType = iType;
    }

    public Long getiType()
    {
        return iType;
    }
    public void setiSite(String iSite)
    {
        this.iSite = iSite;
    }

    public String getiSite()
    {
        return iSite;
    }
    public void setiDate(Date iDate)
    {
        this.iDate = iDate;
    }

    public Date getiDate()
    {
        return iDate;
    }
    public void setiUId(Long iUId)
    {
        this.iUId = iUId;
    }

    public Long getiUId()
    {
        return iUId;
    }
    public void setiStatement(String iStatement)
    {
        this.iStatement = iStatement;
    }

    public String getiStatement()
    {
        return iStatement;
    }
    public void setiImg(String iImg)
    {
        this.iImg = iImg;
    }

    public String getiImg()
    {
        return iImg;
    }

    public List<SysUser> getSysUserList()
    {
        return sysUserList;
    }

    public void setSysUserList(List<SysUser> sysUserList)
    {
        this.sysUserList = sysUserList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iId", getiId())
            .append("iNumber", getiNumber())
            .append("iType", getiType())
            .append("iSite", getiSite())
            .append("iDate", getiDate())
            .append("iUId", getiUId())
            .append("iStatement", getiStatement())
            .append("iImg", getiImg())
            .append("sysUserList", getSysUserList())
            .toString();
    }

}
